Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

docs: crowdfunding example - multi-transaction tutorial (milestone 11) - #21

Open
kepler-ops-maker wants to merge 8 commits into
fleet-sdk:masterfrom
kepler-ops-maker:tutorial-crowdfunding-example
Open

kepler-ops-maker wants to merge 8 commits into
fleet-sdk:masterfrom
kepler-ops-maker:tutorial-crowdfunding-example

Conversation

@kepler-ops-maker

Copy link
Copy Markdown

Adds a Milestone 11 example chapter for #8: a crowdfunding campaign contract covering the full multi-transaction lifecycle.

  • docs/tutorial/examples/crowdfunding.md - chapter in the tutorial series: contract walkthrough (raise-more / collect / refund paths, R4-R7 registers), step-by-step transactions, and live-network notes
  • examples/crowdfunding/ - runnable example (crowdfunding.mjs) plus a six-check test suite (crowdfunding.test.mjs) covering all positive and negative paths

Everything executes against @fleet-sdk/mock-chain (0.12.0): no node, wallet, or funds needed. Verified with a clean npm install && node crowdfunding.mjs && node crowdfunding.test.mjs (6/6 checks pass).

Ref #8

kepler-ops-maker and others added 8 commits September 21, 2026 06:37
Introduced a comprehensive tutorial for the Fleet SDK, detailing setup and usage of examples.
This document provides a comprehensive guide on sending ERG from one wallet to another using the Fleet SDK, including concepts, a complete example, and execution details.
Added a tutorial on how to mint tokens using the Fleet SDK, including concepts, a complete example, and expected output.
Runnable example + six-check test suite against @fleet-sdk/mock-chain:
create -> pledge -> collect happy path, plus negative paths (late pledge,
early collect, below-goal collect, refund after success).
@kepler-ops-maker

Copy link
Copy Markdown
Author

Heads-up on the diff size: this branch is stacked on #18 (the tutorial section structure only exists there), so the 12 files shown include those five. Once #18 merges this rebases down to the 7 crowdfunding files. Happy to rebase then or retarget now if you prefer.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​fleet-sdk/​compiler@​0.12.0711006785100
Added@​fleet-sdk/​mock-chain@​0.12.0751007185100
Added@​fleet-sdk/​serializer@​0.11.0781007284100
Added@​fleet-sdk/​core@​0.12.0771009984100

View full report

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants